//
   Created by apple on 2016/12/5.
extends ../layout

block content
    .contact
        .container
            .user_bindSidebar
                dl#user_sideBarmenu.user_sideBarmenu
                    dt
                        h3 帐号设置
                    dd
                        a(href='/user/' + user.id + '/detail', data-lg-tj-id='18g0', data-lg-tj-no='idnull', data-lg-tj-cid='idnull') 个人信息
                    dd
                        a(href='/user/' + user.id + '/changepwd', data-lg-tj-id='18j0', data-lg-tj-no='idnull', data-lg-tj-cid='idnull') 修改密码
            .user_userinfo_content
                h3 User info
                    .user_contact-form
                        form(method='post')
                            span Name
                            input#name(type='text', name='name', value=User_info.name, required='', readonly=true)
                            span Email
                            input#email(type='email', name='email', value=User_info.email, required='', readonly=true)
                            span Telephone
                            input#telephone(type='text', name='telephone', value=User_info.telephoneNumber, required='', readonly=true)
                            span ID TYPE
                            - var idtype = ["居民身份证","军官证","护照","港澳通行证","台胞证"]; IDTYPE = idtype[User_info.ID_TYPE-1];
                            input#id_type(type='text', name='id_type', value=IDTYPE, required='', readonly=true)
                            span ID Number
                            input#id_number(type='text', name='id_number', value=User_info.ID_Number, required='',readonly=true)
                            .clearfix

